.conversations .conversations-head-buttons {
    display: flex;
}
.conversations .conversations-head-buttons .contacts-toggle {
    position: relative;
}
.conversations .conversations-head-buttons button {
    margin: 0 0 0 12px;
}
.conversations button.contacts-toggle-button.active {
    --outer-padding: 4px;
    border: 2px solid var(--stroke-grey-2);
}
.conversations button.contacts-toggle-button::before {
    border-radius: 100%;
    box-shadow: 0 0 0 2px var(--secondary-blue);
    content: '';
    display: block;
    height: inherit;
    left: 50%;
    margin: auto;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition-opacity);
    width: inherit;
}
.conversations button.contacts-toggle-button.active::before {
    opacity: 1;
}
.conversations button.contacts-toggle-button .notifications-count {
    background: var(--secondary-red);
    border-radius: 9px;
    box-sizing: border-box;
    color: var(--text-color-white-high);
    font: var(--text-body1);
    height: 14px;
    line-height: 14px;
    margin: 0;
    min-width: 14px;
    padding: 1px 4px 0;
    position: absolute;
    right: -3px;
    text-align: center;
    top: -3px;
    font-size: 12px;
}
.conversations .conversations-head-buttons .notifications-count span {
    color: inherit;
    font: inherit;
    line-height: inherit;
    padding: 0;
}
.conversations button.contacts-toggle-button.active .notifications-count {
    right: -5px;
    top: -5px;
}
.conversations-pane {
    margin: 0;
    padding: 6px 0 0;
    list-style-type: none;
}
.conversations-pane.loading-sketch {
    width: 100%;
    animation: fadeInOutLoopSubtle 2s linear infinite;
}
.conversations-pane.loading-sketch li:hover {
    background: none;
    box-shadow: none;
}
.conversations-pane.loading-sketch .conversation-data {
    margin: 6px 0 0;
}
.conversations-pane.loading-sketch .conversation-avatar .chat-topic-icon {
    background: #CBCBCB;
}
.conversations-pane.loading-sketch .conversation-data-top,
.conversations-pane.loading-sketch .conversation-message {
    height: 13px;
    margin: 0 0 4px;
    border-radius: 3px;
    background: #CBCBCB;
}
.conversations-pane.loading-sketch .conversation-message {
    height: 7px;
}
.chat-lp-body {

    /* Temporary fix - l-pane full height over topbar */
    height: calc(100% + 65px);
    margin: -65px 0 0;
}
.chat-lp-scroll-area {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}
.content-panel.conversations {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
    width: 100%;
    height: 100%;
    background-color: var(--mobile-surface-1);
}
.content-panel.conversations span.empty-conversations {
    overflow: hidden;
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-inline-start: 40px;
    padding: 0 0 4px;
    width: calc(100% - 46px);
    font: var(--text-body2);
    text-overflow: ellipsis;
    color: var(--text-color-medium);
    white-space: nowrap;
}
.conversation-reduce-height {
    position: relative;
    height: calc(100% - 116px) !important;
}
.conversations-pane li {
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 16px 5px 8px;
    padding: 4px 8px;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
}
.conversations-pane li.active::before {
    background-color: transparent;
}
.conversations-pane li:hover {
    background-color: var(--stroke-main);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}
.conversations-pane li:hover .unread-messages-container {
    background-color: var(--stroke-main);
}
.conversations-pane li.is-note i {
    --icon-size: 24px;
}
.conversations-pane .conversation-avatar {
    float: left;
    width: 32px;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-inline-end: 10px;
    border-radius: 4px;
}
.rtl .conversations-pane .conversation-avatar {
    float: right;
}
.conversations-pane .conversation-avatar .avatar-wrapper,
.result-table .result-table-row .avatar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: none;
}
.conversations-pane .conversation-avatar .avatar-wrapper span,
.result-table .result-table-row .avatar-wrapper span {
    font: var(--text-body1);
}
.conversation-message-info {
    display: flex;
    justify-content: space-between;
}
.conversations-pane .conversation-data {
    overflow: hidden;
    float: left;
    width: calc(100% - 42px);
}
.conversations-pane .conversation-data .user-card-wrapper {
    float: left;
    width: 100%;
}
.conversations-pane .conversation-data-top {
    display: flex;
    width: 100%;
    margin-bottom: 2px;
    margin-inline-end: 4px;
}
.conversations-pane .upcoming-conversation .conversation-data-top {
    justify-content: space-between;
}
.conversation-data-top .conversation-data-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.conversation-data-top .conversation-data-name.badge-pad {
    margin-inline-end: 4px;
}
.conversation-data-top .conversation-data-badges {
    flex: 0 1;
    max-width: 26px;
    display: flex;
}
.conversation-data-top .date-time {
    align-self: flex-end;
    flex: 1 0;
    margin-inline-start: 4px;
}
.conversation-data-badges .user-card-presence {
    margin: 7px 0 5px;
    margin-inline-end: 4px;
}
.conversation-data-badges .icon-ekr-key {
    width: 12px;
    height: 10px;
    margin: auto 0;
}
.conversation-data-top .conversation-scheduled-badges i {
    --icon-size: 18px;
}
.user-card-name.conversation-name {
    display: flex;
    font: var(--text-body1);
    color: var(--text-color-high);
}
.user-card-name.conversation-name.group {
    padding: 0;
}
.user-card-name.conversation-name .user-card-presence {
    margin: 8px 4px 0;
    position: absolute;
    right: 0;
}
.conversation-message,
.conversation-scheduled-data {
    overflow: hidden;
    width: calc(100% - 22px);
    font: var(--text-body2);
    color: var(--text-color-medium);
    text-overflow: ellipsis;
}
.conversation-scheduled-data:first-child {
    width: 100%;
}
.conversation-scheduled-data:last-child {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}
.conversation-message.unread {
    font-family: var(--text-font-family);
    font-weight: 600;
    color: var(--text-color-high);
}
.conversations-separator {
    margin: 6px 0 0 5px;
}
.conversations-separator i {
    display: block;
    --icon-size: 7px;
    --mask-color: var(--icon-rest);
}
.conversations-pane li .date-time-wrapper {
   align-self: flex-start;
}
.conversations-pane li .date-time {
    padding-top: 2px;
    font: var(--text-body2);
    text-align: end;
    padding-inline-end: 2px;
}
.conversations-pane li.active {
    background-color: var(--stroke-grey-1);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}
.conversations-pane li.active .unread-messages-container {
    background-color: var(--stroke-grey-1);
}
.conversations-pane li.active .user-card-name {
    color: var(--text-color-higher);
}
.conversations-pane li .user-card-name .muted-conversation-icon,
.conversation-data-badges .muted-conversation-icon {
    margin: 2px 0 0;
}
.conversations-pane li .user-card-name .muted-conversation-icon,
.conversation-data-badges .muted-conversation-icon i {
    --mask-color: var(--icon-rest);
}
.conversations-pane li.active .conversation-message,
.conversations-pane li.active .conversation-scheduled-data {
    color: var(--text-color-higher);
}
.conversations-pane li.active .date-time {
    color: var(--text-color-higher);
}
.unread-messages-container {
    display: flex;
    justify-content: end;
}
.unread-messages {
    width: 17px;
    height: 17px;
    box-sizing: border-box;
    border-radius: 100%;
    font: var(--text-caption);
    color: var(--text-color-white-high);
    text-align: center;
    background-color: var(--secondary-blue);
}
.unread-messages.items-2 {
    display: flex;
    justify-content: center;
    /*width: 26px;*/
    width: 32px;
    border-radius: 200px;
}
.unread-messages.items-2 span {
    font: var(--text-caption);
    padding: 0 2px 0 0;
}
.unread-messages.unread-spaced,
.unread-messages-container.unread-spaced {
    width: 32px;
}
.unread-messages.unread-spaced i,
.unread-messages-container.unread-spaced i {
    margin: 0;
}
.unread-messages.unread-spaced span,
.unread-messages-container.unread-spaced span {
    padding: 0;
}
.unread-messages.unread-upcoming {
    display: block;
    float: right;
    margin: 0 0 0 6px;
    min-width: 16px;
    min-height: 16px;
    font: var(--text-caption);
}
.conversations-pane li.active .unread-messages {
    color: #2BA6DE;
}
.conversations-pane li .items-2 .tiny-icon.white-handset,
.conversations-pane li .items-2 .tiny-icon.blue-handset {
    margin-right: 1px;
}
.call-duration {
    position: absolute;
    right: 12px;
    top: 22px;
    font-size: 20px;
    line-height: 25px;
    color: #777777;
    font-family: 'source_sans_prolight';
}
.conversations-pane li.active .call-duration {
    color: white;
}
.call-duration.blue {
    color: #61D2FF;
}
.call-duration.medium {
    font-size: 24px;
    line-height: 31px;
}
.call-duration span, .call-duration i {
    vertical-align: top;
}
.call-duration i {
    vertical-align: top;
    margin: 4px 6px 0 0;
    opacity: 0.7;
}
li.active .call-duration i {
    opacity: 1;
}
.call-duration + .conversation-message {
    margin-right: 120px;
}
.unread-messages + .call-duration {
    margin-right: 30px;
}
.unread-messages + .call-duration + .conversation-message {
    margin-right: 150px;
}

.left-pane-button {
    align-items: center;
    background: var(--surface-grey-2);
    border-top: 2px solid var(--stroke-grey-1);
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex: 0 0 auto;
    height: 50px;
    justify-content: space-between;
    padding: 0 14px;
    position: relative;
    transition: background 300ms ease;
}
.left-pane-button.new-link:hover {
    background: var(--surface-grey-1);
}
.left-pane-button i {
    display: inline-block;
    margin: 8px 12px;
    float:left;
}
.left-pane-button .heading {
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: var(--text-body2);
    color: var(--text-color-medium);
}
.left-pane-button .indicator {
    padding: 0 8px;
    font: var(--text-body2);
    color: var(--secondary-white);
    background-color: rgba(51, 51, 51, 0.7);
    border-radius: 4px;
}
.theme-dark .left-pane-button .indicator {
    background-color: #CCC;
    color: var(--text-color-high-inverted);
}



@keyframes fadein-slow-loop {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadeinout-looped {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadeinout-looped {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadeinout-looped {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadeinout-looped {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}


@keyframes ring {
    10%, 90% {
        transform: translate3d(0, -1px, 0);
    }

    20%, 80% {
        transform: translate3d(0, 2px, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(0, -2px, 0);
    }

    40%, 60% {
        transform: translate3d(0, 2px, 0);
    }
}

/*
 * Search Panel
 * ------------------------------------------------------------------------------------------------------------------ */

.search-panel {
    display: flex;
    position: relative;
    padding: 16px 10px 0 0;
    width: 100%;
    height: 36px;
    flex-direction: column;
    box-sizing: border-box;
    z-index: 130;
    background: var(--mobile-surface-1);
}

.search-panel.expanded {
    flex: 1 1 auto;
    position: absolute;
    height: 100%;
    overflow: hidden;
}

.search-panel.expanded ~ * {
    display: none;
}

.search-heading {
    height: 100%;
    text-align: center;
    font: var(--text-h3-bold);
    color: var(--text-color-high);
}

.search-results-wrapper {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
}

/*
 * Search Field
 * ------------------------------------------------------------------------------------------------------------------ */

.search-field {
    flex: 0 0 auto;
    left: 0;
    margin: 0 auto 3px;
    padding: 0 0 5px 0;
    position: relative;
    top: 0;
    width: calc(100% - 16px);
    z-index: 10;
}

.search-field i {
    position: absolute;
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
    z-index: 10;
}

.search-field i:not(.icon-preview-reveal):hover {
    --mask-color: var(--icon-active);
}

.search-field i.search-icon-find {
    top: 4px;
    left: 8px;
}
.rtl .search-field i.search-icon-find {
    left: unset;
    right: 8px;
}

.search-field i.search-icon-reset {
    top: 4px;
    right: 8px;
    cursor: pointer;
}
.rtl .search-field i.search-icon-reset {
    right: unset;
    left: 8px;
}

.search-field i.tiny-searching {
    top: 4px;
    animation: rotate 0.8s infinite linear;
}

.search-field i.icon-check,
.search-field i.icon-pause {
    top: 6px;
    right: 36px;
    --icon-size: 20px;
}
.rtl .search-field i.icon-check,
.rtl .search-field i.icon-pause {
    left: 36px;
    right: unset;
}

.search-field i.icon-resume {
    top: 8px;
    right: 39px;
    --icon-size: 17px;
    cursor: pointer;
}
.rtl .search-field i.icon-resume {
    left: 39px;
    right: unset;
}

.search-field .clickable {
    cursor: pointer;
}

.search-field .progress-controls {
    position: absolute;
    top: 0;
    right: 32px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.rtl .search-field .progress-controls {
    left: 32px;
    right: unset;
}

.search-field .progress-controls i {
    right: 6px;
}
.rtl .search-field .progress-controls i {
    left: 6px;
    right: unset;
}

.search-field input {
    color: var(--text-color-medium);
    background: var(--surface-grey-6);
    border: 0 none;
    border-radius: 18px;
    box-sizing: border-box;
    font: var(--text-body1);
    line-height: 24px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-inline-start: 40px;
    padding-inline-end: 30px;
    width: 100%;
}
.search-field input::-webkit-input-placeholder { color: var(--text-color-low); }
.search-field input::-moz-placeholder { color: var(--text-color-low); }
.search-field input::-ms-input-placeholder { color: var(--text-color-low); }

.search-field .search-field-status {
    position: relative;
    margin-top: 4px;
    margin-inline-start: 7px;
    margin-inline-end: 8px;
    padding: 4px 30px;
    border-radius: 4px;
    font: var(--text-body1-bold);
    text-align: center;
}

.search-field .search-field-status.warn {
    border: 1px solid var(--banner-border-warning);
    background: var(--banner-background-warning);
    color: var(--banner-text-warning);
}

.search-field .search-field-status.success {
    border: 1px solid var(--banner-border-success);
    background: var(--banner-background-success);
    color: var(--banner-text-success);
}

.search-field .search-field-status.info {
    border: 1px solid var(--banner-border-info);
    background: var(--banner-background-info);
    color: var(--banner-text-info);
}

/*
 * Result Table & Result Row
 * ------------------------------------------------------------------------------------------------------------------ */

.result-table {
    width: calc(100% - 10px);
    margin: 0 auto;
}

.result-table .result-table-heading {
    margin-bottom: 2px;
    padding: 0 10px;
    border-radius: 4px;
    font: var(--text-body2);
    color: var(--text-color-medium);
}

.result-table .result-table-row {
    position: relative;
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.result-table .result-table-row img {
    width: 32px;
    height: 32px;
}

.result-table .result-table-row img.emoji {
    max-width: 14px;
    max-height: 14px;
}

.result-table .result-table-row .result-last-activity {
    font: var(--text-body2);
    color: var(--text-color-medium);
}

.result-table .result-table-row.nil:hover {
    background: var(--mobile-surface-1);
}

.result-table .result-table-row:hover,
.result-table .result-table-row.active {
    background: var(--surface-main);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}

.result-table .result-table-row .chat-topic-icon {
    width: 32px;
    height: 32px;
    box-sizing: border-box;
}

/*
 * Result Row: Recent & Members
 * ------------------------------------------------------------------------------------------------------------------ */

.result-table .result-table-row .avatar-wrapper {
    float: left;
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.rtl .result-table .result-table-row .avatar-wrapper {
    float: right;
}

.result-table .result-table-row .user-card {
    position: absolute;
    top: 50%;
    left: 46px;
    transform: translateY(-50%);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: calc(100% - 46px);
}

.rtl .result-table .result-table-row .user-card {
    left: 0;
    right: 46px;
}

.result-table .result-table-row .user-card span {
    overflow: hidden;
    min-width: 16px;
    max-width: 100%;
    max-width: -webkit-calc(100% - 25px);
    max-width: -moz-calc(100% - 25px);
    max-width: calc(100% - 25px);
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-table .result-table-row .user-card .graphic {
    overflow: hidden;
    display: flex;
    align-items: center;
}

.result-table .result-table-row .user-card .graphic span:nth-child(1) {
    color: var(--text-color-high);
}

.result-table .result-table-row .user-card .graphic strong {
    color: var(--text-color-high);
}

.result-table .result-table-row .user-card .textual {
    overflow: hidden;
}

.result-table .result-table-row .user-card .textual span {
    display: block;
}

.result-table .result-table-row .user-card .textual span:nth-child(1) {
    color: var(--text-color-high);
}

.result-table .result-table-row .user-card .textual span:nth-child(2) {
    clear: both;
    color: var(--text-color-medium);
}

/* --- Result Row: Messages --- */

.result-table .result-table-row.message {
    overflow: hidden;
}

.result-table .result-table-row.message .message-result-info {
    display: flex;
    justify-content: space-between;
}

.result-table .result-table-row.message .message-result-avatar {
    float: left;
    margin: 3px 0 0 0;
}

.rtl .result-table .result-table-row.message .message-result-avatar {
    float: right;
}

.result-table .result-table-row.message span.title {
    overflow: hidden;
    float: left;
    max-width: calc(90% - 25px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rtl .result-table .result-table-row.message span.title {
    float: right;
}

.result-table .result-table-row.message span.title {
    font: var(--text-body1-bold);
}

.result-table .result-table-row.message .user-card-presence {
    margin-bottom: 2px;
}

.result-table .result-table-row.message .summary {
    float: left;
    overflow: hidden;
    width: 45%;
    white-space: nowrap;
    text-overflow: ellipsis;
    font: var(--text-body2);
    color: var(--text-color-medium);
}

.result-table .result-table-row.message .summary strong {
    font: var(--text-body2);
    color: var(--text-color-high);
    font-weight: bold;
}

.result-table .result-table-row.message .result-separator {
    display: none;
    float: left;
    margin: 3px 1px 0 2px;
}

.result-table .result-table-row.message .result-separator i {
    display: block;
    --icon-size: 12px;
    --mask-color: var(--icon-rest);
}

.result-table .result-table-row.message span.date {
    width: 40%;
    padding-inline-end: 8px;
    text-align: right;
    font: var(--text-body2);
    color: var(--text-color-medium);
}

.rtl .result-table .result-table-row.message span.date {
    text-align: left;
}

.result-table .search-messages {
    display: block;
    width: 80%;
    margin: 10px auto;
}


/* --- Result Row: No Results --- */

.result-table.nil {
    display: table;
    width: 100%;
    height: 100%;
    margin: 0;
}

.result-table.nil .result-table-row {
    display: table-cell;
    cursor: default;
    text-align: center;
    vertical-align: middle;
}

.result-table.nil .result-table-row:hover {
    background: var(--mobile-surface-1);
}

.result-table .result-table-row .nil-container {
    text-align: center;
    cursor: default;
}

.result-table .result-table-row .nil-container i {
    --icon-size: 124px;
    --mask-color: var(--icon-inactive);
}

.result-table.nil .result-table-row span,
.result-table .result-table-row .nil-container span {
    display: block;
    padding: 10px 0 0 0;
    font: var(--text-h2);
    color: var(--text-color-low);
}

.result-table.nil .result-table-row .search-messages {
    color: var(--text-color-low);
    font: var(--text-body1);
    margin: 15px;
    width: auto;
}

.result-table.nil .result-table-row .search-messages a {
    text-decoration: underline;
}

.result-table.nil .result-table-row .search-messages .overflow-observer {
    white-space: normal;
}

/*
 * Contacts Panel
 * TODO: move into separate file/s
 * ------------------------------------------------------------------------------------------------------------------ */

.contacts-panel {
    background: var(--mobile-page-background);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    font: var(--text-body1);
    height: calc(100% - 16px);
    left: 0;
    position: absolute;
    top: 16px;
    width: 100%;
    z-index: 120;
}

.contacts-navigation {
    position: relative;
    width: 100%;
    padding: 0 0 0 32px;
    border-bottom: 1px solid var(--stroke-grey-2);
}

.contacts-navigation ul {
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contacts-navigation ul li {
    float: left;
    margin: 0 40px 0 0;
}

.contacts-navigation ul li button.mega-button.action {
    padding: 0;
    border-bottom: 2px solid transparent;
    border-radius: unset;
}

.contacts-navigation ul li button.mega-button.action:hover {
    background: transparent;
    border-bottom: 2px solid var(--stroke-info);
}

.contacts-navigation ul li button.mega-button.active {
    border-bottom: 2px solid var(--stroke-info);
}

.contacts-navigation ul li button.mega-button span {
    margin: 0;
    font: var(--text-h3);
    color: var(--text-color-medium);
}

.contacts-navigation ul li button.mega-button.active span {
    font: var(--text-h3-bold);
    color: var(--text-color-high);
}

.contacts-navigation ul li button.mega-button .notifications-count {
    width: 16px;
    height: 16px;
    margin: 0 0 0 4px;
    border-radius: 4px;
    background: var(--secondary-red);
    font: var(--text-body2);
    color: var(--text-color-white-high);
}

.contacts-actions {
    margin-top: 10px;
    margin-inline-end: 20px;
    text-align: right;
}
.rtl .contacts-actions {
    direction: rtl;
    text-align: left;
}

.contacts-actions button i {
    --icon-size: 24px;
    --mask-color: var(--secondary-green);
}
.contacts-table {
    table-layout: fixed;
}
.contacts-table tbody tr {
    overflow: hidden;
}
.contacts-table th {
    position: relative;
    width: 18%;
}
.contacts-table th.name {
    width: 28%;
}
.contacts-table.requests-table th {
    width: 18%;
}
.contacts-table.requests-table th.contact-controls-container {
    width: 49%;
}
.contacts-table.requests-table th:first-child {
    width: 31%;
}
.contacts-table .contact-item {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 350px;
    height: 100%;
    vertical-align: middle;
    width: calc(100% - 48px);
}
.contacts-table .avatar-wrapper + .contact-item,
.contacts-table span + .contact-item {
    display: inline-flex;
}
.contacts-table .contact-item-user {
    font: var(--text-body1);
    color: var(--text-color-high);
}

.contacts-table .contact-item-user .emoji {
    width: 18px;
    height: 18px;
}

.contacts-table .contact-item-email {
    font: var(--text-body2);
    color: var(--text-color-low);
}

.contacts-table .contact-item-user,
.contacts-table .contact-item-email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}
.contacts-table thead th.verification span {
    padding-inline-start: 16px;
}
.contacts-table thead th span i {
    float: none;
}
.contacts-verification-label-container {
    display: flex;
}
.contacts-verification-icon-simpletip {
    max-width: 280px !important;
    text-align: center;
}
.verify-contact-link-container .verify-contact-link {
    text-decoration: underline;
    cursor: pointer;
    color: var(--label-blue);
    white-space: nowrap;
}
td.verification .contact-item {
    width: 100%;
}

.contacts-table .contact-item-status,
.contacts-table .contact-item-time {
    font: var(--text-body2);
    color: var(--text-color-medium);
}
.contacts-table .contact-item-time {
    display: flex;
}

.contacts-table .contact-item-time i {
    display: block;
    float: left;
    --icon-size: 24px;
    margin-top: -3px;
    margin-inline-end: 7px;
    --mask-color: var(--icon-rest);
}
.rtl .contacts-table .contact-item-time i {
    float: right;
}

.contact-item-controls {
    text-align: end;
    width: calc(100% - 10px);
}
.contact-item-controls.contact-request-sent {
    width: 100%;
}

.contact-item-controls .mega-button.action {
    min-width: auto;
}

.contact-item-controls .mega-button.action:hover i,
.contact-item-controls .mega-button.action.contact-more:hover i {
    --mask-color: var(--icon-active);
}

.contact-item-controls .mega-button.action i {
    --mask-color: var(--icon-rest);
}

.contact-item-controls .mega-button.action.contact-reject i {
    --mask-color: var(--secondary-red);
}

.contact-item-controls .mega-button.action.contact-block i {
    --mask-color: var(--icon-rest);
}

.contact-item-controls .mega-button.action.contact-accept i {
    --mask-color: var(--secondary-green);
}

.contact-item-controls .mega-button.action.contact-more i {
    --mask-color: var(--icon-rest);
}

.contacts-table thead {
    border-bottom: 1px solid var(--stroke-grey-2);
    margin: 0 24px;
    max-width: calc(100% - 48px);
}
.contacts-list .content-container .grid-scrolling-table {
    margin: 0 24px;
    min-width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    background: none;
}

.contacts-table thead th {
    padding-bottom: 3px;
    box-shadow: 0 1px 0 0 var(--stroke-grey-2);
    z-index: 1;
    background: var(--mobile-page-background);
}

.rtl .contacts-table thead th:last-child {
    width: 5%;
    min-width: 204px;
}

.contacts-table-results tr {
    position: relative;
    border-top: 3px solid var(--stroke-main);
    border-bottom: 4px solid var(--stroke-main);
}

.contacts-table-results tr td::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    bottom: 4px;
    box-sizing: border-box;
    z-index: -1;
    display: none;
}

.contacts-table-results tr td:first-child::before {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.contacts-table-results tr td:last-child::before {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.rtl .contacts-table-results tr td:first-child::before {
    border-radius: 0 6px 6px 0;
}
.rtl .contacts-table-results tr td:last-child::before {
    border-radius: 6px 0 0 6px;
}
.contacts-table-results tr.ui-selected td::before {
    display: block;
    background: var(--surface-grey-4);
}

.contacts-table-results tr:not(tr.ui-selected):hover td::before {
    display: block;
    border: 1px solid var(--stroke-grey-3);
    border-top-color: var(--stroke-grey-2);
    border-bottom-color: var(--stroke-grey-2);
    background: var(--surface-grey-3);
}
.contacts-table-results tr:not(tr.ui-selected):hover td:first-child::before {
    border-left-color: var(--stroke-grey-2);
}
.contacts-table-results tr:not(tr.ui-selected):hover td:last-child::before {
    border-right-color: var(--stroke-grey-2);
}
.rtl .contacts-table-results tr:not(.ui-selected):hover td:first-child::before {
    border-left-color: var(--stroke-grey-3);
    border-right-color: var(--stroke-grey-2);
}
.rtl .contacts-table-results tr:not(.ui-selected):hover td:last-child::before {
    border-right-color: var(--stroke-grey-3);
    border-left-color: var(--stroke-grey-2);
}

.contacts-table-results td {
    height: 55px;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--stroke-grey-2);
    padding-top: 1px;
}

.contacts-table th {
    padding: 0;
    padding-inline-start: 8px;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    font: var(--text-body2);
    color: var(--text-color-medium);
    text-align: start;
    cursor: pointer;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
}

.contacts-table th i {
    float: right;
    padding-inline-end: 5px;
    --mask-color: var(--icon-rest);
}

.rtl .contacts-table th i {
    float: left;
}

.contacts-table th:after {
    /* TODO: check this */
    display: none;
}

.contacts-table .box-avatar,
.contacts-table .sprite-fm-uni.icon-send-requests {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 8px;
    vertical-align: middle;
}

.contacts-table .box-avatar {
    border-radius: 4px;
}

.contacts-table .box-avatar span {
    font: var(--text-body1);
}

.contacts-table .box-avatar .user-card-verified {
    position: absolute;
    top: -5px;
    right: -4px;
}

.contacts-table .user-card-presence {
    margin-bottom: 1px;
    margin-inline-end: 8px;
}

.contacts-content {
    height: 100%;
    flex-grow: 1;
    overflow: hidden;
}

.rtl .contacts-content {
    direction: rtl;
}

.contacts-content .mega-button.action i {
    --icon-size: 24px;
}

.contacts-content .content-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: no-repeat center 21px linear-gradient(90deg, var(--stroke-grey-2), var(--stroke-grey-2));
    background-size: auto 1px;
}

.contacts-list {
    height: 100%;
}

.contacts-profile {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.profile-breadcrumb {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    height: 48px;
    padding: 0 32px;
}

.profile-breadcrumb ul {
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-breadcrumb ul li {
    display: inline-block
}

.profile-breadcrumb ul li a {
    font: var(--text-body1);
    color: var(--text-color-medium);
}

.profile-breadcrumb ul li i {
    display: inline-block;
    --icon-size: 18px;
    margin: 0 8px;
    vertical-align: middle;
    --mask-color: var(--icon-rest);
}
.rtl .profile-breadcrumb ul li i.icon-arrow-right {
    transform: rotateY(180deg);
}

.profile-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
    height: calc(100% - 48px);
}

.profile-head {
    background: var(--surface-grey-1);
    flex: 0 0 auto;
    overflow: hidden;
    padding: 24px 32px;
    position: relative;
}

.profile-head .user-card-presence {
    margin-top: 12px;
}

.profile-head .profile-photo {
    position: relative;
    float: left;
    margin-inline-end: 25px;
}
.rtl .profile-head .profile-photo {
    float: right;
}

.profile-head .profile-photo .user-card-verified {
    position: absolute;
    top: -5px;
    right: -4px;
}

.profile-head .profile-info {
    float: left;
    max-width: 400px;
}
.rtl .profile-head .profile-info {
    float: right;
}

.profile-head .profile-info h2 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
    color: var(--text-color-high);
}

.profile-head .profile-info span {
    font: var(--text-body2);
    color: var(--text-color-low);
}

.profile-head .profile-controls {
    margin: 75px 0 0 0;
}

/* TODO: add variables, see: `button.css` */
.profile-head .profile-controls button,
.profile-head .profile-controls button:hover,
.profile-head .profile-controls button:focus {
    margin-inline-end: 15px;
    background: linear-gradient(180deg, rgba(86, 210, 241, 1) 0%, rgba(43, 166, 222, 1) 100%);
}

@media only screen and (max-width: 1080px) {
    .profile-head .profile-controls button,
    .profile-head .profile-controls button:hover,
    .profile-head .profile-controls button:focus {
        margin-right: 4px;
        --height: 24px;
        --outer-padding: 2px;
    }
}

.profile-head .profile-controls button i {
    position: absolute;
    left: 50%;
    --icon-size: 24px;
    transform: translateX(-50%);
    --mask-color: var(--secondary-white);
}

@media only screen and (max-width: 1080px) {
    .profile-head .profile-controls button i {
        --icon-size: 16px;
    }
}

.profile-head .profile-credentials {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    background: var(--surface-grey-2);
}
.rtl .profile-head .profile-credentials {
    left: 25px;
    right: unset;
}

.profile-head .profile-credentials .credentials-head {
    font: var(--text-body1);
    color: var(--text-color-high);
}

.profile-head .profile-credentials .credentials-fingerprints {
    width: 190px;
    margin: 7px 0;
}

.profile-head .profile-credentials .credentials-fingerprints span {
    display: inline-block;
    width: 35px;
    height: 19px;
    font: var(--text-body2);
}

.profile-head .profile-credentials button {
    padding-inline: 8px;
}

.profile-shared-folders {
    flex: 1 1 auto;
    overflow: hidden;
    height: 100%;
}

.profile-shared-folders .colour-label .shared-folder-info-block::after {
    right: 9px;
    top: 15px;
}

.profile-shared-folders .content-container {
    padding: 0 16px 6px;
    background-position-y: 34px;
}

.profile-shared-folders .dialog-empty-block {
    height: 100%;
    background: transparent;
    margin-top: 34px;
}

.profile-shared-folders .dialog-empty-pad {
    margin: auto;
}

.profile-shared-folders .megaListContainer {
    box-sizing: border-box;
    flex: 1 1 auto;
    margin: 0 auto;
    min-width: 0;
    width: calc(100% - 15px);
}

.profile-shared-folders .shared-with-me tbody tr {
    display: block;
    position: relative;
    border-top: 3px solid var(--mobile-page-background);
    border-bottom: 4px solid var(--mobile-page-background);
    box-shadow: 0 -1px 0 0 var(--stroke-grey-2);
}
.profile-shared-folders .shared-with-me tbody tr:nth-last-child(2) {
    box-shadow: 0 -1px 0 0 var(--stroke-grey-2), 0 1px 0 0 var(--stroke-grey-2);
}
.profile-shared-folders .shared-with-me tbody tr:hover::before,
.profile-shared-folders .shared-with-me tbody tr.ui-selected::before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    box-sizing: border-box;
    background: var(--surface-grey-4);
    overflow: hidden;
}
.profile-shared-folders .shared-with-me tbody tr:not(tr.ui-selected):hover::before {
    border: 1px solid var(--stroke-grey-2);
    background: var(--surface-grey-3);
}
.profile-shared-folders .shared-with-me tr.ui-selected td:first-child:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 4px;
    width: 2px;
    height: 100%;
    background: var(--secondary-blue);
}
.profile-shared-folders table.grid-table {
    display: block;
}
.profile-shared-folders table.grid-table thead {
    display: block;
    padding-top: 10px;
    margin: 0;
    border-bottom: 1px solid var(--stroke-grey-2);
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 2;
    background: var(--mobile-page-background);
}
.profile-shared-folders table.grid-table thead tr {
    display: block;
}
.profile-shared-folders table.grid-table th {
    border: 0;
    padding: 0 0 3px;
}
.profile-shared-folders table.shared-with-me tbody {
    display: block;
}
.profile-shared-folders table.shared-with-me tbody tr:not(.ui-selected):hover {
    background: var(--surface-grey-1);
}
.profile-shared-folders table.grid-table th,
.profile-shared-folders table.shared-with-me td {
    display: inline-block;
    height: auto;
}
.profile-shared-folders table.shared-with-me td {
    padding: 10px 0 10px 0;
    border-bottom: 0;
}
.profile-shared-folders table.grid-table.shared-with-me tr:last-child td,
.profile-shared-folders .megaList table.grid-table.shared-with-me tr:nth-last-child(2) td {
    border-bottom: 0;
}
.profile-shared-folders table.grid-table th.name,
.profile-shared-folders table.grid-table th.access {
    display: inline-flex;
    justify-content: space-between;
    padding-right: 15px;
    cursor: pointer;
}
.profile-shared-folders table.grid-table th.name,
.profile-shared-folders table.shared-with-me td.name {
    width: 39%;
    max-width: 39%;
}
.profile-shared-folders table.grid-table th.access,
.profile-shared-folders table.shared-with-me td.access {
    width: 39%;
}
@media only screen and (max-width: 1368px) and (min-width: 320px)  {
    .profile-shared-folders table.grid-table th.name,
    .profile-shared-folders table.shared-with-me td.name {
        width: 240px;
    }
    .profile-shared-folders table.grid-table th.name span,
    .profile-shared-folders table.shared-with-me td.name span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .profile-shared-folders table.grid-table th.access,
    .profile-shared-folders table.shared-with-me td.access {
        width: 150px;
    }
}
.profile-shared-folders table.grid-table th.fav {
    width: 75px;
    margin: 0 auto;
    padding-bottom: 3px;
    padding-inline-start: 32px;
}
.profile-shared-folders table.shared-with-me td.fav {
    width: 75px;
    text-align: center;
}
.profile-shared-folders table.shared-with-me td.grid-url-header-nw {
    float: right;
    width: 100px;
    max-width: 10%;
    margin-inline-end: 20px;
    text-align: end;
}
.rtl .profile-shared-folders table.shared-with-me td.grid-url-header-nw {
    float: left;
}
.profile-shared-folders table.shared-with-me .item-type-icon-90 {
    left: -6px;
}
.profile-shared-folders .contact-item-controls {
    display: block;
}

.dropdown .dropdown-credentials {
    width: 180px;
    margin: 0 0 0 40px;
}

.dropdown .dropdown-credentials span {
    display: inline-block;
    width: 35px;
    height: 19px;
    font: var(--text-body2);
    color: var(--text-color-low);
}

.dropdown .dropdown-profile {
    overflow: hidden;
    position: absolute;
    left: 16px;
    bottom: 14px;
    width: 215px;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
}

.dropdown .dropdown-profile span {
    font: var(--text-body1);
    color: var(--text-color-white-high);
}

.dropdown .dropdown-profile .user-card-presence {
    margin-bottom: 1px;
}

/* -- */

.conversationsApp .lhp-nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 31px 0 23px;
    text-align: center;
}

.conversationsApp .lhp-nav-container {
    position: relative;
    font: var(--text-body2);
    color: var(--text-color-medium);
    cursor: pointer;
}

.conversationsApp .lhp-nav-container:hover {
    color: var(--text-color-high);
}

.conversationsApp .lhp-nav-container:hover i {
    --mask-color: var(--icon-active);
}

.conversationsApp .lhp-nav-container.active .lhp-nav-button,
.conversationsApp .lhp-nav-container.active span,
.conversationsApp .lhp-nav-container.active i {
    color: var(--secondary-green);
    --mask-color: var(--secondary-green);
}

.conversationsApp .lhp-nav-container span {
    display: block;
    margin: 2px 0 0;
}

.conversationsApp .lhp-nav-button {
    position: relative;
    width: 24px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
}

.conversationsApp .lhp-nav-button i {
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
    cursor: pointer;
}

.conversationsApp .lhp-nav-container .notifications-count {
    position: absolute;
    top: 3px;
    right: -4px;
    width: 6px;
    height: 6px;
    border-radius: 200px;
    box-sizing: border-box;
    background: var(--secondary-red);
}

.conversationsApp .lhp-nav-container .notifications-count.large {
    width: 18px;
    height: 18px;
    top: -6px;
    right: -8px;
}

.conversationsApp .lhp-nav-container .notifications-count span {
    display: block;
    margin: 0;
    font: var(--text-caption);
    color: var(--text-color-white-high);
}

.conversationsApp .lhp-nav-container .notifications-count.large span {
    font-size: 8px;
    padding-top: 1px;
}

.conversationsApp .lhp-action-buttons {
    position: relative;
    font: var(--text-body1);
    color: var(--text-color-high);
    margin-bottom: 19px;
    margin-inline-start: 6px;
}

.conversationsApp .lhp-action-buttons button {
    --outer-padding: 2px;
    padding: 6px;
}

.conversationsApp .lhp-action-buttons .new-meeting-action {
    padding: 2px;
}

.conversationsApp .lhp-action-buttons button.loading-sketch {
    margin: 0 0 10px 6px;
    animation: fadeInOutLoopSubtle 2s linear infinite;
}

.conversationsApp .lhp-action-buttons button.loading-sketch i {
    width: 24px;
    height: 24px;
    border-radius: 200px;
    background: #CBCBCB;
}

.conversationsApp .lhp-action-buttons button.loading-sketch span {
    display: block;
    width: 34px;
    height: 7px;
    margin: 0 0 0 14px;
    border-radius: 3px;
    background: #CBCBCB;
}

.conversationsApp .lhp-action-buttons button span {
    text-align: start;
}

.conversationsApp .lhp-action-buttons button i {
    --icon-size: 24px;
    --mask-color: var(--secondary-green);
}

.conversationsApp .lhp-action-buttons i.dropdown-indicator {
    padding: 1px 0 0;
    --mask-color: var(--secondary-white);
}

.conversationsApp .conversations-empty {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    font: var(--text-body1);
    z-index: 120;
    background: var(--surface-main);
    flex-direction: column;
    padding-top: 72px;
}

.conversationsApp .conversations-empty .conversations-empty-header h1 {
    font: var(--text-h1-bold);
}
.conversationsApp .conversations-empty .conversations-empty-header h3 {
    color: var(--text-color-high);
}
.conversationsApp .conversations-empty .conversations-empty-header a {
    color: var(--text-color-info);
    text-decoration: underline;
}

.conversationsApp .conversations-empty-content {
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding: 4px 0;
    width: 100%;
}
.conversationsApp .conversations-empty .conversations-empty-tile {
    border-radius: 12px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
    height: 430px;
    width: 400px;
}
body.theme-dark .conversationsApp .conversations-empty .conversations-empty-tile {
    box-shadow: 0 1px 4px 0 rgba(255, 255, 255, 0.1);
}
.conversationsApp .conversations-empty .conversations-empty-tile:last-child {
    margin-left: 24px;
}

@media only screen and (min-height: 1080px) {
    .conversationsApp .conversations-empty .conversations-empty-tile {
        height: 450px;
    }
}

@media only screen and (min-width: 1920px) {
    .conversationsApp .conversations-empty .conversations-empty-tile {
        width: 500px;
    }
}
.conversationsApp .conversations-empty .chat-tile-img {
    display: block;
    width: 100%;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: var(--surface-grey-1);
    background-origin: content-box;
    border-radius: 12px 12px 0 0;
    padding-top: 22px;
}
.conversationsApp .conversations-empty .chat-tile-img.empty-chat-contacts {
    background-image: url("../images/mega/empty-chat-contacts.png");
}
.conversationsApp .conversations-empty .chat-tile-img.empty-chat-new {
    background-image: url("../images/mega/empty-chat-new.png");
}
.conversationsApp .conversations-empty .chat-tile-img.empty-meetings-call {
    background-image: url("../images/mega/empty-meetings-call.png");
}
.conversationsApp .conversations-empty .chat-tile-img.empty-meetings-schedule {
    background-image: url("../images/mega/empty-meetings-schedule.png");
}
body.theme-dark .conversationsApp .conversations-empty .chat-tile-img.empty-chat-contacts {
    background-image: url("../images/mega/empty-chat-contacts-dark.png");
}
body.theme-dark .conversationsApp .conversations-empty .chat-tile-img.empty-chat-new {
    background-image: url("../images/mega/empty-chat-new-dark.png");
}
body.theme-dark .conversationsApp .conversations-empty .chat-tile-img.empty-meetings-call {
    background-image: url("../images/mega/empty-meetings-call-dark.png");
}
body.theme-dark .conversationsApp .conversations-empty .chat-tile-img.empty-meetings-schedule {
    background-image: url("../images/mega/empty-meetings-schedule-dark.png");
}
.conversationsApp .conversations-empty-tile .tile-content {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
}
.conversationsApp .conversations-empty-tile .tile-content h2 {
    font: var(--text-h2-bold);
    margin: 16px 0 12px;
}
.conversationsApp .conversations-empty-tile .tile-content button {
    align-self: center;
    margin-top: 24px;
    padding: 6px 12px;
}
.conversationsApp .conversations-empty-tile .tile-content button.action {
    margin-top: 16px;
    margin-inline-end: 0;
    padding: 4px 6px;
}
.conversationsApp .conversations-empty-tile .tile-content button.action i {
    margin-right: 8px;
    --icon-size: 24px;
    --mask-color: var(--secondary-green);
}

/* --- */

.lhp-conversations .conversations-holder {
    width: 100%;
    margin: 0 0 20px;
}

.lhp-conversations.chats-view .conversations-pane {
    padding-bottom: 30px;
}

.lhp-conversations.chats-view .conversations-holder {
    height: 95%;
}

.lhp-conversations .conversations-category {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font: var(--text-body2);
    padding: 0 6px;
}

.lhp-conversations .conversations-nil {
    padding: 6px 10px;
    font: var(--text-body2);
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-color-medium);
}
